<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CUDNN Frontend API: nlohmann::byte_container_with_subtype&lt; BinaryType &gt; Class Template Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CUDNN Frontend API
   &#160;<span id="projectnumber">8.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('dd/d0d/classnlohmann_1_1byte__container__with__subtype.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d5/de1/classnlohmann_1_1byte__container__with__subtype-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nlohmann::byte_container_with_subtype&lt; BinaryType &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>an internal type for a backed binary type  
 <a href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for nlohmann::byte_container_with_subtype&lt; BinaryType &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/de1/classnlohmann_1_1byte__container__with__subtype__inherit__graph.png" border="0" usemap="#nlohmann_1_1byte__container__with__subtype_3_01BinaryType_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="nlohmann_1_1byte__container__with__subtype_3_01BinaryType_01_4_inherit__map" id="nlohmann_1_1byte__container__with__subtype_3_01BinaryType_01_4_inherit__map">
<area shape="rect" id="node2" href="../../d7/d1c/classBinaryType.html" title="{BinaryType\n||}" alt="" coords="59,5,147,83"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for nlohmann::byte_container_with_subtype&lt; BinaryType &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/ddb/classnlohmann_1_1byte__container__with__subtype__coll__graph.png" border="0" usemap="#nlohmann_1_1byte__container__with__subtype_3_01BinaryType_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="nlohmann_1_1byte__container__with__subtype_3_01BinaryType_01_4_coll__map" id="nlohmann_1_1byte__container__with__subtype_3_01BinaryType_01_4_coll__map">
<area shape="rect" id="node2" href="../../d7/d1c/classBinaryType.html" title="{BinaryType\n||}" alt="" coords="5,5,93,83"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a4d27e8633c5a5e3b49dd4ccb06515713"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a> = <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a></td></tr>
<tr class="memdesc:a4d27e8633c5a5e3b49dd4ccb06515713"><td class="mdescLeft">&#160;</td><td class="mdescRight">the type of the underlying container  <a href="#a4d27e8633c5a5e3b49dd4ccb06515713">More...</a><br /></td></tr>
<tr class="separator:a4d27e8633c5a5e3b49dd4ccb06515713"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a89c78caf8c7b54dc1bcfa4b0b23d2fc8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a89c78caf8c7b54dc1bcfa4b0b23d2fc8">byte_container_with_subtype</a> () noexcept(noexcept(<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a>()))</td></tr>
<tr class="separator:a89c78caf8c7b54dc1bcfa4b0b23d2fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a640b6dd55847e86dbb936f97b946170e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a640b6dd55847e86dbb936f97b946170e">byte_container_with_subtype</a> (const <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a> &amp;b) noexcept(noexcept(<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a>(b)))</td></tr>
<tr class="separator:a640b6dd55847e86dbb936f97b946170e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73dcae1798eab1b496936bfae7b4b9c0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a73dcae1798eab1b496936bfae7b4b9c0">byte_container_with_subtype</a> (<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a> &amp;&amp;b) noexcept(noexcept(<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a>(std::move(b))))</td></tr>
<tr class="separator:a73dcae1798eab1b496936bfae7b4b9c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bd3e08ec6d3ed9014ad7d83eca5e3b3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a9bd3e08ec6d3ed9014ad7d83eca5e3b3">byte_container_with_subtype</a> (const <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a> &amp;b, std::uint8_t subtype_) noexcept(noexcept(<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a>(b)))</td></tr>
<tr class="separator:a9bd3e08ec6d3ed9014ad7d83eca5e3b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9e66c61f46afdd9a9c3617967c4c797"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#aa9e66c61f46afdd9a9c3617967c4c797">byte_container_with_subtype</a> (<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a> &amp;&amp;b, std::uint8_t subtype_) noexcept(noexcept(<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a>(std::move(b))))</td></tr>
<tr class="separator:aa9e66c61f46afdd9a9c3617967c4c797"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee67fde9d3d571a07d5bb35df21c0555"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#aee67fde9d3d571a07d5bb35df21c0555">operator==</a> (const <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">byte_container_with_subtype</a> &amp;rhs) const</td></tr>
<tr class="separator:aee67fde9d3d571a07d5bb35df21c0555"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a760bf39cc5477bc663d8bb3c44aabf6a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a760bf39cc5477bc663d8bb3c44aabf6a">operator!=</a> (const <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">byte_container_with_subtype</a> &amp;rhs) const</td></tr>
<tr class="separator:a760bf39cc5477bc663d8bb3c44aabf6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63227e70c8b976fd6f65bb2d2d7dd021"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a63227e70c8b976fd6f65bb2d2d7dd021">set_subtype</a> (std::uint8_t subtype_) noexcept</td></tr>
<tr class="memdesc:a63227e70c8b976fd6f65bb2d2d7dd021"><td class="mdescLeft">&#160;</td><td class="mdescRight">sets the binary subtype  <a href="#a63227e70c8b976fd6f65bb2d2d7dd021">More...</a><br /></td></tr>
<tr class="separator:a63227e70c8b976fd6f65bb2d2d7dd021"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3ca9d09e55342f9588404e1dc2222f0"><td class="memItemLeft" align="right" valign="top">constexpr std::uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0">subtype</a> () const noexcept</td></tr>
<tr class="memdesc:ac3ca9d09e55342f9588404e1dc2222f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the binary subtype  <a href="#ac3ca9d09e55342f9588404e1dc2222f0">More...</a><br /></td></tr>
<tr class="separator:ac3ca9d09e55342f9588404e1dc2222f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fc42fb07003bf7048c2f1fc79478e02"><td class="memItemLeft" align="right" valign="top">constexpr bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a9fc42fb07003bf7048c2f1fc79478e02">has_subtype</a> () const noexcept</td></tr>
<tr class="memdesc:a9fc42fb07003bf7048c2f1fc79478e02"><td class="mdescLeft">&#160;</td><td class="mdescRight">return whether the value has a subtype  <a href="#a9fc42fb07003bf7048c2f1fc79478e02">More...</a><br /></td></tr>
<tr class="separator:a9fc42fb07003bf7048c2f1fc79478e02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b122b28ff2b8680557ca44ac9748e49"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a7b122b28ff2b8680557ca44ac9748e49">clear_subtype</a> () noexcept</td></tr>
<tr class="memdesc:a7b122b28ff2b8680557ca44ac9748e49"><td class="mdescLeft">&#160;</td><td class="mdescRight">clears the binary subtype  <a href="#a7b122b28ff2b8680557ca44ac9748e49">More...</a><br /></td></tr>
<tr class="separator:a7b122b28ff2b8680557ca44ac9748e49"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ae36c8f29f4f50a00962b0e9110ba2756"><td class="memItemLeft" align="right" valign="top">std::uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ae36c8f29f4f50a00962b0e9110ba2756">m_subtype</a> = 0</td></tr>
<tr class="separator:ae36c8f29f4f50a00962b0e9110ba2756"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69aa7a914a7a31b61d3a9567d74ddf7b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a69aa7a914a7a31b61d3a9567d74ddf7b">m_has_subtype</a> = false</td></tr>
<tr class="separator:a69aa7a914a7a31b61d3a9567d74ddf7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename BinaryType&gt;<br />
class nlohmann::byte_container_with_subtype&lt; BinaryType &gt;</h3>

<p>an internal type for a backed binary type </p>
<p>This type extends the template parameter <em><a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a></em> provided to <code><a class="el" href="../../d9/dcc/classnlohmann_1_1basic__json.html" title="a class to store JSON values ">basic_json</a></code> with a subtype used by BSON and MessagePack. This type exists so that the user does not have to specify a type themselves with a specific naming scheme in order to override the binary type.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname"><a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a></td><td>container to store bytes (<code>std::vector&lt;std::uint8_t&gt;</code> by default)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>version 3.8.0 </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l04933">4933</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a4d27e8633c5a5e3b49dd4ccb06515713"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d27e8633c5a5e3b49dd4ccb06515713">&#9670;&nbsp;</a></span>container_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a> =  <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the type of the underlying container </p>

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l04937">4937</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a89c78caf8c7b54dc1bcfa4b0b23d2fc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89c78caf8c7b54dc1bcfa4b0b23d2fc8">&#9670;&nbsp;</a></span>byte_container_with_subtype() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">byte_container_with_subtype</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l04939">4939</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="a640b6dd55847e86dbb936f97b946170e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a640b6dd55847e86dbb936f97b946170e">&#9670;&nbsp;</a></span>byte_container_with_subtype() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">byte_container_with_subtype</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l04943">4943</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="a73dcae1798eab1b496936bfae7b4b9c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73dcae1798eab1b496936bfae7b4b9c0">&#9670;&nbsp;</a></span>byte_container_with_subtype() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">byte_container_with_subtype</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l04947">4947</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="a9bd3e08ec6d3ed9014ad7d83eca5e3b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bd3e08ec6d3ed9014ad7d83eca5e3b3">&#9670;&nbsp;</a></span>byte_container_with_subtype() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">byte_container_with_subtype</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::uint8_t&#160;</td>
          <td class="paramname"><em>subtype_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l04951">4951</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="aa9e66c61f46afdd9a9c3617967c4c797"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9e66c61f46afdd9a9c3617967c4c797">&#9670;&nbsp;</a></span>byte_container_with_subtype() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::<a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">byte_container_with_subtype</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a4d27e8633c5a5e3b49dd4ccb06515713">container_type</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::uint8_t&#160;</td>
          <td class="paramname"><em>subtype_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l04957">4957</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a7b122b28ff2b8680557ca44ac9748e49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b122b28ff2b8680557ca44ac9748e49">&#9670;&nbsp;</a></span>clear_subtype()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::clear_subtype </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>clears the binary subtype </p>
<p>Clears the binary subtype and flags the value as not having a subtype, which has implications for serialization; for instance MessagePack will prefer the bin family over the ext family.</p>
<p>Constant.</p>
<p>No-throw guarantee: this member function never throws exceptions.</p>
<dl class="section see"><dt>See also</dt><dd>see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0">subtype()</a> &ndash; return the binary <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a> </dd>
<dd>
see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a63227e70c8b976fd6f65bb2d2d7dd021">set_subtype()</a> &ndash; sets the binary <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a> </dd>
<dd>
see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a9fc42fb07003bf7048c2f1fc79478e02">has_subtype()</a> &ndash; returns whether or not the binary value has a <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>version 3.8.0 </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05064">5064</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="a9fc42fb07003bf7048c2f1fc79478e02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fc42fb07003bf7048c2f1fc79478e02">&#9670;&nbsp;</a></span>has_subtype()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr bool <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::has_subtype </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return whether the value has a subtype </p>
<dl class="section return"><dt>Returns</dt><dd>whether the value has a subtype</dd></dl>
<p>Constant.</p>
<p>No-throw guarantee: this member function never throws exceptions.</p>
<dl class="section see"><dt>See also</dt><dd>see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0">subtype()</a> &ndash; return the binary <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a> </dd>
<dd>
see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a63227e70c8b976fd6f65bb2d2d7dd021">set_subtype()</a> &ndash; sets the binary <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a> </dd>
<dd>
see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a7b122b28ff2b8680557ca44ac9748e49">clear_subtype()</a> &ndash; clears the binary <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>version 3.8.0 </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05040">5040</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="a760bf39cc5477bc663d8bb3c44aabf6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a760bf39cc5477bc663d8bb3c44aabf6a">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l04969">4969</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="aee67fde9d3d571a07d5bb35df21c0555"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee67fde9d3d571a07d5bb35df21c0555">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l04963">4963</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

<p class="reference">References <a class="el" href="../../d5/db8/json_8hpp_source.html#l05072">nlohmann::byte_container_with_subtype&lt; BinaryType &gt;::m_has_subtype</a>, and <a class="el" href="../../d5/db8/json_8hpp_source.html#l05071">nlohmann::byte_container_with_subtype&lt; BinaryType &gt;::m_subtype</a>.</p>

</div>
</div>
<a id="a63227e70c8b976fd6f65bb2d2d7dd021"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63227e70c8b976fd6f65bb2d2d7dd021">&#9670;&nbsp;</a></span>set_subtype()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::set_subtype </td>
          <td>(</td>
          <td class="paramtype">std::uint8_t&#160;</td>
          <td class="paramname"><em>subtype_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>sets the binary subtype </p>
<p>Sets the binary subtype of the value, also flags a binary JSON value as having a subtype, which has implications for serialization.</p>
<p>Constant.</p>
<p>No-throw guarantee: this member function never throws exceptions.</p>
<dl class="section see"><dt>See also</dt><dd>see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0">subtype()</a> &ndash; return the binary <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a> </dd>
<dd>
see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a7b122b28ff2b8680557ca44ac9748e49">clear_subtype()</a> &ndash; clears the binary <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a> </dd>
<dd>
see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a9fc42fb07003bf7048c2f1fc79478e02">has_subtype()</a> &ndash; returns whether or not the binary value has a <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>version 3.8.0 </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l04992">4992</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<a id="ac3ca9d09e55342f9588404e1dc2222f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3ca9d09e55342f9588404e1dc2222f0">&#9670;&nbsp;</a></span>subtype()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr std::uint8_t <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::subtype </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the binary subtype </p>
<p>Returns the numerical subtype of the value if it has a subtype. If it does not have a subtype, this function will return size_t(-1) as a sentinel value.</p>
<dl class="section return"><dt>Returns</dt><dd>the numerical subtype of the binary value</dd></dl>
<p>Constant.</p>
<p>No-throw guarantee: this member function never throws exceptions.</p>
<dl class="section see"><dt>See also</dt><dd>see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a63227e70c8b976fd6f65bb2d2d7dd021">set_subtype()</a> &ndash; sets the binary <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a> </dd>
<dd>
see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a7b122b28ff2b8680557ca44ac9748e49">clear_subtype()</a> &ndash; clears the binary <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a> </dd>
<dd>
see <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#a9fc42fb07003bf7048c2f1fc79478e02">has_subtype()</a> &ndash; returns whether or not the binary value has a <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html#ac3ca9d09e55342f9588404e1dc2222f0" title="return the binary subtype ">subtype</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>version 3.8.0 </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05019">5019</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a69aa7a914a7a31b61d3a9567d74ddf7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69aa7a914a7a31b61d3a9567d74ddf7b">&#9670;&nbsp;</a></span>m_has_subtype</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::m_has_subtype = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05072">5072</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d5/db8/json_8hpp_source.html#l04963">nlohmann::byte_container_with_subtype&lt; BinaryType &gt;::operator==()</a>.</p>

</div>
</div>
<a id="ae36c8f29f4f50a00962b0e9110ba2756"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae36c8f29f4f50a00962b0e9110ba2756">&#9670;&nbsp;</a></span>m_subtype</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename BinaryType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::uint8_t <a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">nlohmann::byte_container_with_subtype</a>&lt; <a class="el" href="../../d7/d1c/classBinaryType.html">BinaryType</a> &gt;::m_subtype = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/db8/json_8hpp_source.html#l05071">5071</a> of file <a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d5/db8/json_8hpp_source.html#l04963">nlohmann::byte_container_with_subtype&lt; BinaryType &gt;::operator==()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="../../d5/db8/json_8hpp_source.html">json.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d3/d9b/namespacenlohmann.html">nlohmann</a></li><li class="navelem"><a class="el" href="../../dd/d0d/classnlohmann_1_1byte__container__with__subtype.html">byte_container_with_subtype</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
